package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存详细对象 sys_stock
 * 
 * @author ruoyi
 * @date 2025-04-25
 */
@ApiModel(description = "库存详细对象")
public class SysStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 库存信息 */
    @Excel(name = "库存信息")
    @ApiModelProperty(value = "库存信息",required = true)
    private String storeStockId;

    /** 库存变动 */
    @Excel(name = "库存变动")
    @ApiModelProperty(value = "库存变动",required = true)
    private String stockNum;

    /** 调整类型（0.入库。1、出库） */
    @Excel(name = "调整类型", readConverterExp = "0=.入库。1、出库")
    @ApiModelProperty(value = "调整类型",required = true)
    private String stockType;

    private String goodsId;

    /** 数量 */
    @ApiModelProperty(value = "数量",required = true)
    private String detailNum;

    /** 金额 */
    @ApiModelProperty(value = "金额",required = true)
    private String money;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setStoreStockId(String storeStockId) 
    {
        this.storeStockId = storeStockId;
    }

    public String getStoreStockId() 
    {
        return storeStockId;
    }

    public void setStockNum(String stockNum) 
    {
        this.stockNum = stockNum;
    }

    public String getStockNum() 
    {
        return stockNum;
    }

    public void setStockType(String stockType) 
    {
        this.stockType = stockType;
    }

    public String getStockType() 
    {
        return stockType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getDetailNum() {
        return detailNum;
    }

    public void setDetailNum(String detailNum) {
        this.detailNum = detailNum;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeStockId", getStoreStockId())
            .append("stockNum", getStockNum())
            .append("stockType", getStockType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
